package com.server;

import com.beans.Question;

import java.util.List;

public interface QuestionService {
    Question getQuestionById(int questionID);

    List<Question> getAllQuestions();

    void addQuestion(Question question);
    int updateSelective(Question question);

    void deleteQuestion(int questionID);

    boolean compareAnswers(int questionID, String selectedOption);
}
